
import request from '@/utils/request';

export async function getWorkerInfo(params = {}) {
  return request('/api/user/info', {
    method: 'GET',
    params
  });
}
export async function getWorkerRecordList(params) {
  return request('/api/user/recordList', {
    method: 'GET',
    params
  });
}
// getPayList
export async function getPayList(params) {
  return request('/api/user/payList', {
    method: 'GET',
    params
  });
}
// 用户工时日统计列表获取
export async function getDayStatistics(params) {
  return request('/api/user/dayList', {
    method: 'GET',
    params
  });
}
// getMonthStatistics
export async function getMonthStatistics(params) {
  return request('/api/user/monthList', {
    method: 'GET',
    params
  });
}
